package foodmaterial.entity;

import javax.validation.constraints.NotEmpty;
import java.io.Serializable;

/**
 * 区域信息
 */
public class SupplyArea implements Serializable {
    private static final long serialVersionUID = -3332475401484511597L;
    private Long id ;
    @NotEmpty(message = "配送区域名称不能为空")
    private String name; // '名称'
    private Integer pageNo = 1;
    private Integer pageSize = 10;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Integer getPageNo() {
        return pageNo;
    }

    public void setPageNo(Integer pageNo) {
        this.pageNo = pageNo;
    }

    public Integer getPageSize() {
        return pageSize;
    }

    public void setPageSize(Integer pageSize) {
        this.pageSize = pageSize;
    }
}
